/*
 *英才会硕信息科技有限公司拥有本软件的版权，拥有本软件版权2025   并保留所有权利。
 *Copyright 2021,YCHS Information&Science Technology Co.,Ltd,
 *All rights reserved.
 */
package com.ychs.lawyerback01.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

/**
 * @author xuehongjin
 * @version 1.0
 * @date 2025/8/22
 */
@Data
public class RoleOptDTO {
    private  Long roleId;
    @NotBlank(message = "角色名称不能为空")
    @Size(min = 2,max = 50,message = "角色名称长度必须在2-50个之间")
    private String roleName;
    @NotBlank(message = "权限字符不能为空")
    @Size(min = 1,max = 100,message = "权限字符必须在1到100个字符之间")
    private String roleKey;
    private String status;
    private String remark;

}
